package com.gagakuai.bpm.api.testapi;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Properties;

/*
 * @program: settement
 * @description:
 * @author: houhong
 * @create: 2022-11-13 22:47
 */
@RestController
@RequestMapping("/user")
public class UserController {



    @GetMapping(value = "test", consumes = "text/properties")
    public Properties test(@RequestBody Properties properties) {

        System.out.println(properties.toString());
        return properties;
    }


}